## Process this file with automake to produce Makefile.in
##
##<LicenseText>
##
## CitcomS.py by Eh Tan, Eun-seo Choi, and Pururav Thoutireddy.
## Copyright (C) 2002-2005, California Institute of Technology.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
##
##</LicenseText>

# $Id: Makefile.am 15113 2009-06-03 21:07:04Z tan2 $

noinst_LIBRARIES =
pyexec_LTLIBRARIES =

AM_CPPFLAGS =
if COND_HDF5
    AM_CPPFLAGS += -DUSE_HDF5
endif

if COND_EMBEDDING
    # static library
    noinst_LIBRARIES += libExchangerLibmodule.a
else
    # extension module (libtool)
    pyexec_LTLIBRARIES += ExchangerLibmodule.la
endif

# static library
libExchangerLibmodule_a_CXXFLAGS = $(AM_CXXFLAGS) # hack for automake
libExchangerLibmodule_a_SOURCES = $(sources)

# extension module (libtool)
ExchangerLibmodule_la_LDFLAGS = -module -release $(VERSION)
ExchangerLibmodule_la_LIBADD = \
	$(top_builddir)/lib/libCitcomS.la \
	$(PYTHON_EGG_LDFLAGS)
ExchangerLibmodule_la_SOURCES = $(sources)

INCLUDES = \
	-I$(top_srcdir)/lib \
	$(PYTHON_EGG_CPPFLAGS) \
	-I$(PYTHON_INCDIR) \
	$(MPIINCLUDES)

sources = \
	AreaWeightedNormal.cc \
	AreaWeightedNormal.h \
	bindings.cc \
	bindings.h \
	BaseSVTInlet.cc \
	BaseSVTInlet.h \
	Boundary.cc \
	Boundary.h \
	BoundarySVTInlet.cc \
	BoundarySVTInlet.h \
	CitcomInterpolator.cc \
	CitcomInterpolator.h \
	CitcomSource.cc \
	CitcomSource.h \
	Convertor.cc \
	Convertor.h \
	exceptions.cc \
	exceptions.h \
	Exchangermodule.cc \
	Exchangermodule.h \
	exchangers.cc \
	exchangers.h \
	global_bbox.cc \
	global_bbox.h \
	initTemperature.cc \
	initTemperature.h \
	inlets_outlets.cc \
	inlets_outlets.h \
	Interior.cc \
	Interior.h \
	misc.cc \
	misc.h \
	PInlet.cc \
	PInlet.h \
	PInterior.cc \
	PInterior.h \
	POutlet.cc \
	POutlet.h \
	SInlet.cc \
	SInlet.h \
	SIUnit.cc \
	SIUnit.h \
	SVTInlet.cc \
	SVTInlet.h \
	SVTOutlet.cc \
	SVTOutlet.h \
	TInlet.cc \
	TInlet.h \
	TOutlet.cc \
	TOutlet.h \
	VOutlet.cc \
	VOutlet.h \
	VTInlet.cc \
	VTInlet.h \
	VTOutlet.cc \
	VTOutlet.h

EXTRA_DIST = \
	BoundaryVTInlet.cc \
	BoundaryVTInlet.h

## end of Makefile.am
